@ECHO OFF
:: USSAGE: send_mail [Email Subject] [Email Body]

:: Define MAIL CLIENT path
PATH %CD%\mail

::Define sender email
SET sender=an4o_86@abv.bg

::Define receiver email
SET receiver=angel.tsvetkov@mail.com

::Define SMTP server and port
SET server=smtp.gmail.com

::Define SMTP port
SET port=587

::Define SMTP authorization username
SET user=mrproper86@gmail.com

::Define SMTP authorization password
SET pass=mrproper

sendEmail -f %sender% -t %receiver% -u "%1" -m "%2" -s %server%:%port% -xu %user% -xp %pass%